/*
 * Copyright (c) 2010 CCX(China) Co.,Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * CCX(China) Co.,Ltd. ("Confidential Information").
 * It may not be copied or reproduced in any manner without the express 
 * written permission of CCX(China) Co.,Ltd.
 *
 * @author zhouqh
 * Date: 2010-5-24 下午02:15:11
 */
package com.ccxe.manage.db;

/**
 * @author zhouqh
 *
 */
public class Null {
	private int dataType = 0;


    /**
     *  Constructs a null object that represents the data type indicated by
     *  the passed parameter.  This parameter should be one of the constants
     *  defined in java.sql.Types.
     *  @param dataType Represented the class being represented by this object.
     */
    public Null( int dataType ) {

        this.dataType = dataType;
    }

    /**
     *  Returns the class constant that this object represents.
     *  <p>
     *  @return The class constant.
     */
    public int getDataType() {
        return dataType;
    }
    
    public String toString() {
        return "NULL";
    }
}
